Website Social Links Scraper
Pricing
from $2.00 / 1,000 social profile extracteds
Website Social Links Scraper
Blazing fast scraper to extract social media links (Facebook, Twitter, LinkedIn, Instagram, etc.) from websites. Includes advanced filtering to avoid share links and deduplication by domain.
Pricing
from $2.00 / 1,000 social profile extracteds
Rating
5.0
(1)
Developer
CodeScraper
Maintained by CommunityActor stats
1
Bookmarked
4
Total users
3
Monthly active users
8 hours ago
Last modified
Categories
Share
๐ Website Social Links Scraper โ High-Speed Profile Extractor
This Apify actor extracts social media profiles and community links directly from websites with high accuracy and intelligent validation.
It combines Cheerio-based HTML scraping, advanced regex matching, smart brand-name filtering, internal link discovery, and domain-level aggregation to identify, validate, deduplicate, and organize social profiles while filtering out share links, tracking URLs, irrelevant external pages, and false positives.
๐ What It Does
For every website URL provided, the actor extracts:
๐ข Website Overview
- ๐ Input URL
- ๐ Target Domain
- ๐ท๏ธ Brand Name
- ๐ Pages Scanned
- ๐งฎ Total Profiles Found
๐ฑ Social Profile Data
For each social platform found:
- ๐ฆ Twitter / X
- ๐ผ LinkedIn
- ๐ธ Instagram
- ๐ Facebook
- ๐ฅ YouTube
- ๐ต TikTok
- ๐ GitHub
- ๐พ Discord
- ๐ฝ Reddit
- ๐ Pinterest
โก It Handles
- โ Multiple website URLs and raw domains
- ๐ Automatic URL normalization
- โก High-speed raw HTML scraping
- ๐ก๏ธ Anti-blocking capabilities
- ๐ง Smart Brand-Name Filtering
- ๐ซ Share-link and intent-link filtering
- ๐งน Domain-level deduplication
- ๐ Same-hostname internal crawling
- ๐ Cross-page profile aggregation
- ๐ฏ Platform-specific validation
๐ง How It Works
-
Loads website URLs and normalizes domains
-
Extracts the base domain and brand name
-
Fetches raw HTML using CheerioCrawler with optimized request handling
-
Scans:
- HTML content
- Anchor tags
- Embedded JSON data
- Next.js hydration data
- Structured metadata
-
Uses advanced regular expressions to identify social profile URLs
-
Filters:
- Share links
- Intent endpoints
- Tracking parameters
- Non-profile URLs
-
Applies Smart Brand-Name Validation to ensure profiles belong to the target website
-
Discovers and crawls internal pages such as:
- Contact pages
- About pages
- Team pages
- Community pages
-
Aggregates and deduplicates profiles across all crawled pages
-
Saves structured results to the Apify Dataset
โ๏ธ Input Configuration
| Field | Type | Description | Default |
|---|---|---|---|
startUrls | Array | List of website URLs or domains to scrape | [] |
platforms | Array | Social platforms to extract | ["facebook","twitter","linkedin"] |
maxPagesPerDomain | Integer | Maximum pages to crawl per domain | 10 |
proxyConfiguration | Object | Proxy settings for anti-blocking | {"useApifyProxy":true} |
๐งฉ Example Input
{"startUrls": ["apify.com"],"platforms": ["twitter","linkedin","youtube","tiktok","github","discord"],"maxPagesPerDomain": 5}
๐ Example Output
{"inputUrl": "https://apify.com","targetDomain": "apify.com","brandName": "apify","statistics": {"pagesScanned": 5,"totalProfilesFound": 8},"socialProfiles": {"twitter": ["https://x.com/apify"],"linkedin": ["https://linkedin.com/company/apify"],"youtube": ["https://www.youtube.com/apify"],"tiktok": ["https://www.tiktok.com/@apifytech"],"github": ["https://github.com/apify"],"discord": ["https://discord.com/invite/jyEM2PRvMU","https://discord.gg/w3e2v7rWDw"]}}
If no social profiles are found:
{"inputUrl": "https://example.com","targetDomain": "example.com","brandName": "example","statistics": {"pagesScanned": 2,"totalProfilesFound": 0},"socialProfiles": {}}
โ Error Handling
If a website cannot be accessed or processed:
{"inputUrl": "https://example.com","targetDomain": "example.com","status": "Failed","error": "Request failed completely (check proxy or rate limits)","statistics": {"pagesScanned": 0,"totalProfilesFound": 0},"socialProfiles": {}}
๐ง Features
- ๐ Accurate social profile extraction
- โก High-speed HTML-based scraping
- ๐ก๏ธ Built-in anti-blocking mechanisms
- ๐ง Smart brand-name validation
- ๐ Automatic internal page discovery
- ๐งน Cross-page deduplication
- ๐ Domain-level aggregation
- ๐ฏ Platform-specific filtering
- ๐ซ Share-link elimination
- ๐ท๏ธ Structured social profile organization
๐ก Use Cases
- B2B Lead Generation
- CRM Data Enrichment
- Influencer Discovery
- Brand Intelligence Research
- Competitor Analysis
- Sales Prospecting
- Community Discovery
- Cold Outreach Campaigns
โ FAQs
1. Why is it so fast?
The actor downloads and processes raw HTML directly instead of launching a full browser session. Combined with CheerioCrawler and optimized parsing, it delivers significantly higher throughput while minimizing resource consumption.
2. Will it work on JavaScript-heavy websites?
In many cases, yes. Modern frameworks such as Next.js and Nuxt often embed their application state directly into HTML. Since the scraper scans the entire HTML response, including embedded JSON data, it can frequently extract social profiles without rendering JavaScript.
3. How does Smart Brand-Name Filtering work?
The actor extracts the website's brand name from its domain and validates discovered social profile handles against that brand. This prevents unrelated user profiles from being incorrectly associated with the target website.
4. Why are Discord links treated differently?
Discord invite URLs typically contain randomized invite codes rather than brand names. To avoid missing legitimate community links, Discord URLs are exempt from strict brand-name validation.
๐งโ๐ป Developer Info
Author: codescraper
Email: codescraper011@gmail.com
๐ท๏ธ Tags
social-scraper ยท social-links-extractor ยท lead-generation ยท data-enrichment ยท osint ยท b2b-data ยท contact-extractor ยท web-scraping